package com.ruiyian.bridge.info.service;

import com.ruiyian.bridge.project.domain.vo.DataAnalysisDto;
import com.ruiyian.bridge.project.domain.vo.DataAnalysisVo;
import com.ruiyian.bridge.project.domain.vo.Mmh2oQueryBo;

import java.util.List;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2022/6/17
 * Desc: 温度传感器
 */
public interface TemperatureService {
    /**
     * 当前时刻数据
     * @param addr
     * @param macaddr
     * @return
     */
    DataAnalysisVo getNowMinData(String addr, String macaddr);


    /**
     * 当天数据
     * @param bo
     * @return
     */
//    List<DistanceAddrSummaryVo> queryDataListByAddr(Mmh2oQueryBo bo);

    /**
     * 温度同期对比
     * @param dto
     * @return
     */
    List<DataAnalysisVo> querySameTempByDateType(DataAnalysisDto dto);
}
